package com.data.modules.log.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.data.modules.log.entity.WsLog;

import java.util.List;

/**
 * @Description: WS日志
 * @Author: data-boot
 * @Date:   2022-03-07
 * @Version: V1.0
 */
public interface IWsLogService extends IService<WsLog> {

    void pubScript(WsLog wsLog) throws Exception;

    int heartbeatDetection(String deviceId);

    List<String> findData();

    /** 清空表数据
     * @return
     */
    int truncateTable();

}
